package com.xt.purchasingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xt.purchasingsystem.dto.DFileDto;
import com.xt.purchasingsystem.model.SupplierFile;
import com.xt.purchasingsystem.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yhp
 * @since 2020-05-31
 */
public interface SupplierFileService extends IService<SupplierFile> {


    Result getAllSupplierFileByProductName(String productName,Integer currNo,Integer pageSize);

    /**
     * 根据供应商编号查询此供应商7天内的已采购数量,已放货数量，已合格数量的业务
     * @param supplierId
     * @return
     */
    Result getDataDrawingListBySupplierId(String supplierId);

    /**
     * 从EXCEL表格批量导入数据到数据库的业务
     * @param supplierFiles
     * @return
     */
    Result readExcel(List<SupplierFile> supplierFiles);
}
